package com.forum.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.forum.entity.StudentinfotabEntity;
import com.forum.entity.view.StudentinfotabView;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 学生信息表 Mapper 接口
 * </p>
 *
 * @author 张继成
 * @since 2023-12-30
 */
public interface StudentinfotabDao extends BaseMapper<StudentinfotabEntity> {
    List<StudentinfotabView> selectListView(@Param("ew") Wrapper<StudentinfotabEntity> wrapper);

    List<StudentinfotabEntity> selectListView(Pagination page, @Param("ew") Wrapper<StudentinfotabEntity> wrapper);
}
